import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import style from './style/index.css'
Vue.config.productionTip = false

// 全局过滤器，过滤价格
Vue.filter('RMBformat', (val) => {
  return "￥ " + val + " 元";
})
// Vue.filter('filterMoney', (val) => {
//   return "￥ " + Number(val).toFixed(2) + " 元";
// })


// //导入所有组件
import axios from 'axios'
import VueAxios from 'vue-axios'
Vue.use(VueAxios, axios)

import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
